/*
 * @Description:  更新身份接受验证码的弹框组建js唤起插件
 * @Author: tao.xie
 * @Date: 2019-03-27 18:02:03
 * @Last Modified by: tao.xie
 * @Last Modified time: 2019-03-28 17:42:51
 */

import UpdateApplyInfoDialog from './UpdateApplyInfoDialog.vue'
import Vue from 'vue'

var UpdateApplyInfoDialogConstructor = Vue.extend(UpdateApplyInfoDialog)
var instance

var UpdateApplyInfoDialogJS = {
  show: function() {
    if (!instance) {
      instance = new UpdateApplyInfoDialogConstructor({
        el: document.createElement('div')
      })
    }
    document.body.appendChild(instance.$el)
    instance.show()
  }
}

export default UpdateApplyInfoDialogJS
